﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AllInOne.Entity
{
    public class T_Dictionary
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; } = -1;
        /// <summary>
        /// 父节点Id,为空则为父数据据
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 父节编号
        /// </summary>
        public string ParentCode { get; set; }

        /// <summary>
        /// 字典项编号，Company,Position,Goods
        /// </summary>
        public string DictItemCode { get; set; }
        /// <summary>
        /// 字典项数值
        /// </summary>
        public string DictItemValue { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string DictDescribe { get; set; }
        /// <summary>
        /// 有效：1，有效，0，无效
        /// </summary>
        public int Enable { get; set; }
    }
}
